home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / QuickTime / QuickTime 3 Interfaces & Libs / QTDevMac / PInterfaces / QD3DCustomElements.p < prev    next >
Encoding:
Text File  |  1998-08-21  |  2.5 KB  |  94 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        QD3DCustomElements.p
  3.  
  4.      Contains:    Custom QuickTime Elements in QuickDraw 3D                            
  5.  
  6.      Version:    Technology:    Quickdraw 3D 1.5.4
  7.                  Release:    QuickTime 3.0
  8.  
  9.      Copyright:    © 1995-1998 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT QD3DCustomElements;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __QD3DCUSTOMELEMENTS__}
  28. {$SETC __QD3DCUSTOMELEMENTS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC QD3DCustomElementsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __QD3D__}
  35. {$I QD3D.p}
  36. {$ENDC}
  37.  
  38.  
  39. {$PUSH}
  40. {$ALIGN POWER}
  41. {$LibExport+}
  42.  
  43.  
  44. {*****************************************************************************
  45.  **                                                                             **
  46.  **                        Custom Name Element Functions                         **
  47.  **                                                                             **
  48.  ****************************************************************************}
  49. FUNCTION CENameElement_SetData(object: TQ3Object; name: ConstCStringPtr): TQ3Status; C;
  50. FUNCTION CENameElement_GetData(object: TQ3Object; name: CStringPtrPtr): TQ3Status; C;
  51. FUNCTION CENameElement_EmptyData(name: CStringPtrPtr): TQ3Status; C;
  52.  
  53. {*****************************************************************************
  54.  **                                                                             **
  55.  **                            URL Data Structure Definitions                     **
  56.  **                                                                             **
  57.  ****************************************************************************}
  58.  
  59. TYPE
  60.     TCEUrlOptions                 = LONGINT;
  61. CONST
  62.     kCEUrlOptionNone            = {TCEUrlOptions}0;
  63.     kCEUrlOptionUseMap            = {TCEUrlOptions}1;
  64.  
  65.  
  66. TYPE
  67.     TCEUrlDataPtr = ^TCEUrlData;
  68.     TCEUrlData = RECORD
  69.         url:                    CStringPtr;
  70.         description:            CStringPtr;
  71.         options:                TCEUrlOptions;
  72.     END;
  73.  
  74. {*****************************************************************************
  75.  **                                                                             **
  76.  **                        Custom URL Element Functions                         **
  77.  **                                                                             **
  78.  ****************************************************************************}
  79. FUNCTION CEUrlElement_SetData(object: TQ3Object; VAR urlData: TCEUrlData): TQ3Status; C;
  80. FUNCTION CEUrlElement_GetData(object: TQ3Object; VAR urlData: TCEUrlDataPtr): TQ3Status; C;
  81. FUNCTION CEUrlElement_EmptyData(VAR urlData: TCEUrlDataPtr): TQ3Status; C;
  82.  
  83.  
  84. {$ALIGN RESET}
  85. {$POP}
  86.  
  87. {$SETC UsingIncludes := QD3DCustomElementsIncludes}
  88.  
  89. {$ENDC} {__QD3DCUSTOMELEMENTS__}
  90.  
  91. {$IFC NOT UsingIncludes}
  92.  END.
  93. {$ENDC}
  94.